Cap Attributes
Each cap structure contains a set of flags that modify the way a shape is capped. These constants are defined in thegxCapAttributes
enumeration:
enum gxCapAttributes { gxLevelStartCap= 0x0001; gxLevelEndCap = 0x0002; }; typedef long gxCapAttribute;Constant descriptions
gxLevelStartCap
- Suppresses rotation of the start cap shape. When you set this flag, QuickDraw GX does not rotate the start cap shape to match the slope of the capped contour. Instead, QuickDraw GX places the start cap shape onto the start of the capped contour with the exact orientation specified by the start cap shape's geometry.
gxLevelEndCap
- Suppresses rotation of the end cap shape. When you set this flag, QuickDraw GX does not rotate the end cap shape to match the slope of the capped contour. Instead, QuickDraw GX places the end cap shape onto the start of the capped contour with the exact orientation specified by the end cap shape's geometry.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help